package com.smartstate.dataManagement.vo;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;
import java.util.Map;

/**
 * 能源输出对象
 */
@Data
@ApiModel(description = "对象树")
public class TreeNodeEnergyVO<VO> {

    @ApiModelProperty(value = "14天峰谷平集合或当前对象的能耗集合")
    private List<VO> vo;

//    map{”介质“:”耗能集合“}
    @ApiModelProperty(value = "对象的能耗集合")
    private Map<String, List<VO>> mapVO;

    @ApiModelProperty(value = "名称")
    private String name;

    @ApiModelProperty(value = "id")
    private String id;

    @ApiModelProperty(value = "兄弟节点")
    private TreeNodeEnergyVO<VO> left;

    @ApiModelProperty(value = "孩子节点")
    private TreeNodeEnergyVO<VO> right;


}
